<template>
    <div class="orderDetail">
        <div class="orderDetail-items">
            <span>订单编号：{{items.order.orderNo}}</span>
        </div>
         <div class="orderDetail-items" v-if="items.order.status!=0">
            <span>支付方式：<span v-if="items.order.payType=='weixin_gzh'">微信</span></span>
        </div>
         <div class="orderDetail-items"  v-if="items.order.status==4||items.order.status==1||items.order.status==0||items.order.status==5">
            <span>创建时间：{{items.order.ctime}}</span>
        </div>
         <div class="orderDetail-items" :style="{marginBottom:items.order.status!=5?0:'0.2667rem'}"  v-if="items.order.status==4||items.order.status==1||items.order.status==5">
            <span>付款时间：{{items.order.payTime}}</span>
        </div>
         <div class="orderDetail-items" style="margin-bottom:0"  v-if="items.order.status==5">
            <span>发货时间：{{items.order.sendTime}}</span>
        </div>
    </div>
</template>
<script>
export default {
    props:["items"],
    model:{
        prop:"items"
    }
}
</script>
<style lang="scss" scoped>
  .orderDetail{
      padding: 0.4267rem 0.32rem;
      background: white;
      font-size: 0.3467rem;
      color: #666666;
      margin: 0.2133rem 0;
     .orderDetail-items{
       margin-bottom: 0.2667rem;
     }
  }
</style>

